<div class="body_right">
    <div>
		<div class="box">Hỗ trợ trực tuyến</div>
		<div class="box_c">
			<div style="padding: 5px; text-align: justify;">
				<div style="padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; ">
					<div style="text-align: center;" id="yahoo">
						<?php $j = 0; $i = 0;foreach ($listContacts as $contact) {?>
                            <?php if($contact->type == 'yahoo' && $contact->status == 1) { $i ++; ?>
							    <font color="#0D8890"><?php echo $contact->name;?></font><br>
                                <font color="#0D8890"><?php echo $contact->phone;?></font><br>
							    <a href="ymsgr:sendIM?<?php echo $contact->acc; ?>"> <img border="0" src="http://opi.yahoo.com/online?u=<?php echo $contact->acc; ?>&amp;m=g&amp;t=2&amp;l=us" alt="Hỗ trợ khách hàng"><br>
							    </a><br>
                            <?php } ?>
                            <?php if($contact->type == 'skype' && $contact->status == 1) { $j ++; ?>
                                <font color="#0D8890"><?php echo $contact->name;?></font><br>
                                <font color="#0D8890"><?php echo $contact->phone;?></font><br>
                                <a href="Skype:<?php echo $contact->acc; ?>?chat"> <img src="http://mystatus.skype.com/balloon/<?php echo $contact->acc;?>" title="<?php echo $contact->acc;?>" width="120" height="30" alt="Hỗ trợ khách hàng"> </a>
                                <br>
                            <?php }?>
						<?php } ?>
					</div>
				</div>
			</div>
		</div>
		<div class="box_f"></div>
	</div>
    <div>
        <div class="box">CHỌN THEO ĐẦU SỐ</div>
        <div class="box_c">
            <ul id="menus">
                <li><a href="<?php echo site_url().'search/index?sdauso=90'; ?>">Đầu 090 (Mobifone)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=91'; ?>">Đầu 091 (Vinaphone)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=92'; ?>"> Đầu 092 (Vietnamobi)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=93'; ?>"> Đầu 093 (Mobifone)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=94'; ?>"> Đầu 094 (Vinaphone)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=95'; ?>">Đầu 095 (Sfone)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=96'; ?>">Đầu 096 (Viettel)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=97'; ?>"> Đầu 097 (Viettel)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=98'; ?>">Đầu 098 (Viettel)</a></li>
                <li><a href="<?php echo site_url().'search/index?sdauso=99'; ?>"> Đầu 099 (Beeline) </a></li>
            </ul>
        </div>
        <div class="box_f"></div>
    </div>
    <br />
    <div>
        <div class="box">CHỌN THEO GIÁ TIỀN</div>
        <div class="box_c">
            <ul id="menus">
                <li><a href="<?php echo site_url().'search/index?sgia=100-1000'; ?>">100 Triệu - 1 Tỷ</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=50-100'; ?>">50 Triệu - 100 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=20-50'; ?>">20 Triệu - 50 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=10-20'; ?>">10 Triệu - 20 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=5-10'; ?>">5 Triệu - 10 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=2-5'; ?>">2 Triệu - 5 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=1-2'; ?>">1 Triệu - 2 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=0.5-1'; ?>">0.5 Triệu - 1 Triệu</a></li>
                <li><a href="<?php echo site_url().'search/index?sgia=0-0.5'; ?>">Dưới 500 nghìn</a></li>
            </ul>
            <br>
            <form onsubmit="window.location.href='index.php?act=search&amp;smang=0&amp;sgt1='+document.xem.tu.value+'&amp;sgt2='+document.xem.den.value+'&amp;sdau=0&amp;Textsim=*&amp;snut=11&amp;stong=&amp;sdauso=0&amp;sdang=0&amp;sgia=9&amp;ssapxep=0&amp;submit.x=30&amp;submit.y=4'; return false;" method="post" name="xem">
                <div style="text-align: center">
                    <input type="text" style="width: 150px; color: red" onkeyup="executeComma(event,document.xem.tu)" value="100,000 VNĐ" name="tu" onclick="this.value=''"><br>
                    <input type="text" "="" style="width: 150px; color: red" onkeyup="executeComma(event,document.xem.den)" value="10,000,000,000 VNĐ" name="den" onclick="this.value=''"><br>
                    <input type="submit" value="Xem" name="xem">
                 </div>
            </form>
        </div>
        <div class="box_f"></div>
   </div>
   <div>                                    
           <br>
           <div class="box">Tìm sim năm sinh</div>
        <div style="text-align: center" class="box_c">
        <div style="height:4px; clear:both"></div>
        <form action="<?php echo site_url().'search/birthday'; ?>" method="GET">
        <input type="hidden" value="search" name="act">
            <select name="Date_Day">
                <option value="01" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '01') echo 'selected="selected"'; ?>>01</option>
                <option value="02" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '02') echo 'selected="selected"'; ?>>02</option>
                <option value="03" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '03') echo 'selected="selected"'; ?>>03</option>
                <option value="04" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '04') echo 'selected="selected"'; ?>>04</option>
                <option value="05" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '05') echo 'selected="selected"'; ?>>05</option>
                <option value="06" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '06') echo 'selected="selected"'; ?>>06</option>
                <option value="07" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '07') echo 'selected="selected"'; ?>>07</option>
                <option value="08" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '08') echo 'selected="selected"'; ?>>08</option>
                <option value="09" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '09') echo 'selected="selected"'; ?>>09</option>
                <option value="10" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '10') echo 'selected="selected"'; ?>>10</option>
                <option value="11" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '11') echo 'selected="selected"'; ?>>11</option>
                <option value="12" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '12') echo 'selected="selected"'; ?>>12</option>
                <option value="13" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '13') echo 'selected="selected"'; ?>>13</option>
                <option value="14" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '14') echo 'selected="selected"'; ?>>14</option>
                <option value="15" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '15') echo 'selected="selected"'; ?>>15</option>
                <option value="16" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '16') echo 'selected="selected"'; ?>>16</option>
                <option value="17" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '17') echo 'selected="selected"'; ?>>17</option>
                <option value="18" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '18') echo 'selected="selected"'; ?>>18</option>
                <option value="19" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '19') echo 'selected="selected"'; ?>>19</option>
                <option value="20" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '20') echo 'selected="selected"'; ?>>20</option>
                <option value="21" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '21') echo 'selected="selected"'; ?>>21</option>
                <option value="22" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '22') echo 'selected="selected"'; ?>>22</option>
                <option value="23" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '23') echo 'selected="selected"'; ?>>23</option>
                <option value="24" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '24') echo 'selected="selected"'; ?>>24</option>
                <option value="25" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '25') echo 'selected="selected"'; ?>>25</option>
                <option value="26" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '26') echo 'selected="selected"'; ?>>26</option>
                <option value="27" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '27') echo 'selected="selected"'; ?>>27</option>
                <option value="28" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '28') echo 'selected="selected"'; ?>>28</option>
                <option value="29" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '29') echo 'selected="selected"'; ?>>29</option>
                <option value="30" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '30') echo 'selected="selected"'; ?>>30</option>
                <option value="31" <?php if(isset($_SESSION['search']['date_day']) && $_SESSION['search']['date_day'] == '31') echo 'selected="selected"'; ?>>31</option>
            </select>
            <select name="Date_Month">
                <option value="01" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '01') echo 'selected="selected"'; ?>>01</option>
                <option value="02" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '02') echo 'selected="selected"'; ?>>02</option>
                <option value="03" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '03') echo 'selected="selected"'; ?>>03</option>
                <option value="04" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '04') echo 'selected="selected"'; ?>>04</option>
                <option value="05" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '05') echo 'selected="selected"'; ?>>05</option>
                <option value="06" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '06') echo 'selected="selected"'; ?>>06</option>
                <option value="07" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '07') echo 'selected="selected"'; ?>>07</option>
                <option value="08" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '08') echo 'selected="selected"'; ?>>08</option>
                <option value="09" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '09') echo 'selected="selected"'; ?>>09</option>
                <option value="10" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '10') echo 'selected="selected"'; ?>>10</option>
                <option value="11" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '11') echo 'selected="selected"'; ?>>11</option>
                <option value="12" <?php if(isset($_SESSION['search']['date_month']) && $_SESSION['search']['date_month'] == '12') echo 'selected="selected"'; ?>>12</option>
            </select>
            <select name="Date_Year">
                <option value="1951" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1951') echo 'selected="selected"'; ?>>1951</option>
                <option value="1952" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1952') echo 'selected="selected"'; ?>>1952</option>
                <option value="1953" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1953') echo 'selected="selected"'; ?>>1953</option>
                <option value="1954" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1954') echo 'selected="selected"'; ?>>1954</option>
                <option value="1955" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1955') echo 'selected="selected"'; ?>>1955</option>
                <option value="1956" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1956') echo 'selected="selected"'; ?>>1956</option>
                <option value="1957" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1957') echo 'selected="selected"'; ?>>1957</option>
                <option value="1958" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1958') echo 'selected="selected"'; ?>>1958</option>
                <option value="1959" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1959') echo 'selected="selected"'; ?>>1959</option>
                <option value="1960" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1960') echo 'selected="selected"'; ?>>1960</option>
                <option value="1961" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1961') echo 'selected="selected"'; ?>>1961</option>
                <option value="1962" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1962') echo 'selected="selected"'; ?>>1962</option>
                <option value="1963" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1963') echo 'selected="selected"'; ?>>1963</option>
                <option value="1964" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1964') echo 'selected="selected"'; ?>>1964</option>
                <option value="1965" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1965') echo 'selected="selected"'; ?>>1965</option>
                <option value="1966" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1966') echo 'selected="selected"'; ?>>1966</option>
                <option value="1967" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1967') echo 'selected="selected"'; ?>>1967</option>
                <option value="1968" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1968') echo 'selected="selected"'; ?>>1968</option>
                <option value="1969" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1969') echo 'selected="selected"'; ?>>1969</option>
                <option value="1970" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1970') echo 'selected="selected"'; ?>>1970</option>
                <option value="1971" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1971') echo 'selected="selected"'; ?>>1971</option>
                <option value="1972" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1972') echo 'selected="selected"'; ?>>1972</option>
                <option value="1973" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1973') echo 'selected="selected"'; ?>>1973</option>
                <option value="1974" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1974') echo 'selected="selected"'; ?>>1974</option>
                <option value="1975" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1975') echo 'selected="selected"'; ?>>1975</option>
                <option value="1976" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1976') echo 'selected="selected"'; ?>>1976</option>
                <option value="1977" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1977') echo 'selected="selected"'; ?>>1977</option>
                <option value="1978" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1978') echo 'selected="selected"'; ?>>1978</option>
                <option value="1979" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1979') echo 'selected="selected"'; ?>>1979</option>
                <option value="1980" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1980') echo 'selected="selected"'; ?>>1980</option>
                <option value="1981" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1981') echo 'selected="selected"'; ?>>1981</option>
                <option value="1982" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1982') echo 'selected="selected"'; ?>>1982</option>
                <option value="1983" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1983') echo 'selected="selected"'; ?>>1983</option>
                <option value="1984" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1984') echo 'selected="selected"'; ?>>1984</option>
                <option value="1985" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1985') echo 'selected="selected"'; ?>>1985</option>
                <option value="1986" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1986') echo 'selected="selected"'; ?>>1986</option>
                <option value="1987" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1987') echo 'selected="selected"'; ?>>1987</option>
                <option value="1988" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1988') echo 'selected="selected"'; ?>>1988</option>
                <option value="1989" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1989') echo 'selected="selected"'; ?>>1989</option>
                <option value="1990" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1990') echo 'selected="selected"'; ?>>1990</option>
                <option value="1991" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1991') echo 'selected="selected"'; ?>>1991</option>
                <option value="1992" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1992') echo 'selected="selected"'; ?>>1992</option>
                <option value="1993" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1993') echo 'selected="selected"'; ?>>1993</option>
                <option value="1994" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1994') echo 'selected="selected"'; ?>>1994</option>
                <option value="1995" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1995') echo 'selected="selected"'; ?>>1995</option>
                <option value="1996" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1996') echo 'selected="selected"'; ?>>1996</option>
                <option value="1997" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1997') echo 'selected="selected"'; ?>>1997</option>
                <option value="1998" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1998') echo 'selected="selected"'; ?>>1998</option>
                <option value="1999" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '1999') echo 'selected="selected"'; ?>>1999</option>
                <option value="2000" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2000') echo 'selected="selected"'; ?>>2000</option>
                <option value="2001" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2001') echo 'selected="selected"'; ?>>2001</option>
                <option value="2002" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2002') echo 'selected="selected"'; ?>>2002</option>
                <option value="2003" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2003') echo 'selected="selected"'; ?>>2003</option>
                <option value="2004" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2004') echo 'selected="selected"'; ?>>2004</option>
                <option value="2005" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2005') echo 'selected="selected"'; ?>>2005</option>
                <option value="2006" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2006') echo 'selected="selected"'; ?>>2006</option>
                <option value="2007" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2007') echo 'selected="selected"'; ?>>2007</option>
                <option value="2008" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2008') echo 'selected="selected"'; ?>>2008</option>
                <option value="2009" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2009') echo 'selected="selected"'; ?>>2009</option>
                <option value="2010" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2010') echo 'selected="selected"'; ?>>2010</option>
                <option value="2011" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2011') echo 'selected="selected"'; ?>>2011</option>
                <option value="2012" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2012') echo 'selected="selected"'; ?>>2012</option>
                <option value="2013" <?php if(isset($_SESSION['search']['date_year']) && $_SESSION['search']['date_year'] == '2013') echo 'selected="selected"'; ?>>2013</option>
                
            </select>
            <br>
            <input type="radio" value="0" checked="checked" name="type"> Tất cả<br>
        &nbsp;<input type="radio" value="1" name="type"> 19xx<input type="radio" value="2" name="type"> 
                        m/d/Y<br>
             <input type="submit" value="Tìm" name="simnamsinh">
         </form>
      </div>
    <div class="box_f">
    </div>
 </div>
 <br>
<!-- <div>
 	<div class="box"> TÌM SIM THEO PHONG THỦY</div>
 	<div class="box_c">
		<form style="margin: 0" onsubmit="return sphongthuy(this);" name="pt" method="get" action="index.php">
			<div style="text-align: center">
				<br>
				<img src="/images/default/sodep1.jpg" alt="" style="border-width: 0px; WIDTH: 148px; HEIGHT: 110px;"><br>
				<br>
			</div>
		
			<div class="style1">
		
			<label>Tổng điểm =<input type="text" id="diem" style="width: 40px;" name="tong"></label> 
			(&lt; 81)<br>
			</div>
			<div style="text-align: center">
				Hoặc<br>
				<label>Tổng nút =<input type="text" id="nut" style="width: 40px" name="nut"></label>&nbsp; 
				(1-10)<br>
				Sim
				<input type="radio" checked="checked" style="width: 20px" value="010" name="dau" onclick="document.pt.dauso.value='0'">Tất 
				cả<input type="hidden" value="0" name="dauso"><br>
				<input type="radio" style="width: 20px" value="09" name="dau" onclick="document.pt.dauso.value='09'">10 
				Số<input type="radio" style="width: 20px" value="01" name="dau" onclick="document.pt.dauso.value='01'">11 
				Số
			</div>
			<div style="text-align: center">
				<input type="submit" value="Tìm sim"> 
			</div>
		</form>
	</div>
 </div>-->
 <br>
 <div>
<div class="box">Sale off</div>
<div style="text-align: center" class="box_c">								
	<div id="layer1" style=" width: 100%; min-height: 150px; overflow:auto">																	
		<table cellspacing="1" cellpadding="0" style="width: 100%; background-color: #F0F0F0">
<!--		<tr>
			<td style="height: 20px; color: #FF0000; text-align: center; background-color: #F0F0F0; background-image: url('/images/tdtop_bg.png');">
				<strong>Số sim</strong></td>
			<td style="height: 20px; color: #FF0000; text-align: center; background-color: #F0F0F0; background-image: url('/images/tdtop_bg.png');">
				<strong>Giá tốt</strong>
			</td>
		</tr>-->
		<?php foreach ($listDistCount as $key=>$value) { ?>
			<tr>
				<td style="background-color: #FFFFFF; height: 21px;">
					<p style="margin-left: 2px; margin-top: 0; margin-bottom: 0"><a href="<?php echo site_url('dat-mua/sim-so-dep-'.$value['phone'] . '_' . $value['id']) ?>"class="style9" title="<?php echo $value['phone']?>"><?php echo $value['phone']?></a></p>
				</td>
				
				<td style="background-color: #FFFFFF; height: 20px;">
					<p style="margin-left: 2px; margin-top: 0; margin-bottom: 0"><?php echo $this->mycommon->toMoney($value['price_update']); ?></p>
				</td>
			</tr>
		<?php }; ?>
											
		<tr>
			<td colspan="3" style="background-color: #FFFFFF; height: 20px; text-align: center;">
				<a href="<?php echo site_url('/giamgia/sim_gia_tot') ?>">Xem 
				tất cả sim giảm giá</a>
			</td>
		</tr>
		</table>																		
	</div>
</div>
<div class="box_f"></div>
</div>

<!-- Sim moi ve -->
<div>
	<div class="box">SIM SỐ ĐẸP MỚI VỀ</div>
	<div class="box_c">
		<marquee height="220px" scrolldelay="1" scrollamount="1" direction="up" onmouseout="this.start();" onmouseover="this.stop();" style="padding-top: 5px;">
		<?php foreach ($listNews as $key=>$value) { ?>
			<div style="margin:0 auto; text-align:center;">
				<a href="<?php echo site_url('dat-mua/sim-so-dep-'.$value['phone'] . '_' . $value['id']) ?>"class="style9" title="<?php echo $value['phone']?>"><?php echo $value['phone']?></a>
				<br>
				<?php echo $this->mycommon->toMoney($value['price_update']); ?>
				<div style="clear:both; height:1px;width:98%; margin:0 auto; border-top:1px #EEEEEE solid; margin:2px 2px 2px 2px;"></div>							
			</div>
		<?php } ?>										
		</marquee>
	</div>
<div class="box_f"></div>
</div>

<br />
        <div class="ads box_c" style="width:174px;">
            <?php foreach ($listAds as $key=>$ad) { ?>
                <a href="<?php echo $ad['href']; ?>">
                    <img src="<?php echo $ad['img']?>" alt="simsogiahuy.com" width="174px" height="200px"/>
                </a>
                 
            <?php }?>
            
        </div>
        <br />
</div>
</div>
</div>